<?php

include_once (__ALIPATH__.'/com/alibaba/openapi/client/entity/SDKDomain.class.php');
include_once (__ALIPATH__.'/com/alibaba/openapi/client/entity/ByteArray.class.php');
include_once (__ALIPATH__.'/com/alibaba/product/param/AlibabaChinaBacsevApiQueryModelIsvQualityAdviceModel.class.php');

class AlibabaOceanOpenplatformBizProductResultProductGetQualityResult extends SDKDomain {

       	
    private $starLevel;
    
        /**
    * @return 
    */
        public function getStarLevel() {
        return $this->starLevel;
    }
    
    /**
     * 设置     
     * @param Integer $starLevel     
     * 参数示例：<pre></pre>     
     * 此参数必填     */
    public function setStarLevel( $starLevel) {
        $this->starLevel = $starLevel;
    }
    
        	
    private $isvQualityAdviceModelList;
    
        /**
    * @return 
    */
        public function getIsvQualityAdviceModelList() {
        return $this->isvQualityAdviceModelList;
    }
    
    /**
     * 设置     
     * @param array include @see AlibabaChinaBacsevApiQueryModelIsvQualityAdviceModel[] $isvQualityAdviceModelList     
     * 参数示例：<pre></pre>     
     * 此参数必填     */
    public function setIsvQualityAdviceModelList(AlibabaChinaBacsevApiQueryModelIsvQualityAdviceModel $isvQualityAdviceModelList) {
        $this->isvQualityAdviceModelList = $isvQualityAdviceModelList;
    }
    
    	
	private $stdResult;
	
	public function setStdResult($stdResult) {
		$this->stdResult = $stdResult;
					    			    			if (array_key_exists ( "starLevel", $this->stdResult )) {
    				$this->starLevel = $this->stdResult->{"starLevel"};
    			}
    			    		    				    			    			if (array_key_exists ( "isvQualityAdviceModelList", $this->stdResult )) {
    			$isvQualityAdviceModelListResult=$this->stdResult->{"isvQualityAdviceModelList"};
    				$object = json_decode ( json_encode ( $isvQualityAdviceModelListResult ), true );
					$this->isvQualityAdviceModelList = array ();
					for($i = 0; $i < count ( $object ); $i ++) {
						$arrayobject = new ArrayObject ( $object [$i] );
						$AlibabaChinaBacsevApiQueryModelIsvQualityAdviceModelResult=new AlibabaChinaBacsevApiQueryModelIsvQualityAdviceModel();
						$AlibabaChinaBacsevApiQueryModelIsvQualityAdviceModelResult->setArrayResult($arrayobject );
						$this->isvQualityAdviceModelList [$i] = $AlibabaChinaBacsevApiQueryModelIsvQualityAdviceModelResult;
					}
    			}
    			    		    		}
	
	private $arrayResult;
	public function setArrayResult($arrayResult) {
		$this->arrayResult = $arrayResult;
				    		    			if (array_key_exists ( "starLevel", $this->arrayResult )) {
    			$this->starLevel = $arrayResult['starLevel'];
    			}
    		    	    			    		    		if (array_key_exists ( "isvQualityAdviceModelList", $this->arrayResult )) {
    		$isvQualityAdviceModelListResult=$arrayResult['isvQualityAdviceModelList'];
    			$this->isvQualityAdviceModelList = new AlibabaChinaBacsevApiQueryModelIsvQualityAdviceModel();
    			$this->isvQualityAdviceModelList->setStdResult ( $isvQualityAdviceModelListResult);
    		}
    		    	    		}
 
   
}
?>